package com.atguigu.strategy.improve;

public class WildDuck extends Duck {
	
	//构造器
	public WildDuck() {
		flyBehavior = new GoodFlyBehavior();
	}

	@Override
	public void display() {
		System.out.println("wild duck");
	}

}
